const obj = {};
const a = Symbol('a');
const b = Symbol.for('b');

obj[a] = 'local symbol';
obj[b] = 'global symbol';

const objSymbols = Object.getOwnPropertySymbols(obj);
console.log(objSymbols);
